<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>hello</title>
</head>
<body>
  <h1>
    hello, <span th:text="${msg.toUpperCase().toLowerCase()}">欢迎您!</span>!
  </h1>

  <h1 th:text="${#dates.format(#dates.createNow(), 'yyyy-MM-dd HH:mm:ss')}"></h1>

  <h1 th:text="${#request.getAttribute('msg')}">1</h1>

  <ul>
    <li th:each="boy : ${boys}">
      <h2 th:text="${boy}"></h2>
    </li>
  </ul>
</body>
</html>